<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <br><br><br><br><br>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选择代理商')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_id" data-rule="required" data-source="agent/info" class="form-control  selectpage form-control" data-field="agent_name" name="row[agent_id]" type="text" value="">
        </div>
    </div>
    <br><br><br><br><br>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('上传文件')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-files" data-rule="required" class="form-control" size="50" name="row[files]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-files" class="btn btn-danger plupload" data-input-id="c-files" data-mimetype="xls,xlsx" data-multiple="false" data-url="ajax/upload" data-preview-id="p-files"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-files"></span>
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
